package com.sg.service.biz.app.impl;


import cn.hutool.core.bean.BeanUtil;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.app.req.*;
import com.sg.dto.biz.app.res.*;
import com.sg.entity.OmsCycle;
import com.sg.service.base.app.MOmsBasicInstanceUnstructuredRelationshipService;
import com.sg.service.base.app.MOmsCycleService;
import com.sg.service.base.app.MOmsStandardDataResultService;
import com.sg.common.exception.Assert;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class DivineDataServiceImpl
        implements com.wicket.okrapp.biz.service.DivineDataService {

    @Resource
    private RedisUtil redisUtil;
    // @Resource
    // private MSpecMethordTableService mSpecMethordTableService;
    @Resource
    private MOmsCycleService mOmsCycleService;
    @Resource
    private NbDivineData nbDivineData;
    @Resource
    private MOmsBasicInstanceUnstructuredRelationshipService mOmsBasicInstanceUnstructuredRelationshipService;
    @Resource
    private MOmsStandardDataResultService mOmsStandardDataResultService;
//@Resource
    //private MCustomFields2Service mCustomFields2Service;

    /**
     * 【验证接口】D生成语义实例
     */
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateGenerateInstanceRespDto generateGenerateInstance(GenerateGenerateInstanceReqDto reqDto) {


        String string_1 = null;
//步骤0: 【验证接口】M生成语义实例（特殊方法） - generateGenerateInstance
        //ModelCode: invokeTemplateSemantic
        GenerateGenerateInstanceReqDto invokeTemplateSemanticReq = new GenerateGenerateInstanceReqDto();
        invokeTemplateSemanticReq.setTemplateSemanticEngineCode("CYCLE_NAME");//CUSTOM_CONVENTION
        invokeTemplateSemanticReq.setTemplateContent("周期");//CUSTOM_CONVENTION
        invokeTemplateSemanticReq.setMetaDataColumnContent("测试测试");//CUSTOM_CONVENTION

        GenerateGenerateInstanceResDto invokeTemplateSemanticRes = nbDivineData.generateGenerateInstance(invokeTemplateSemanticReq);


//步骤1: 3-4-04新增周期 - addCycle
        OmsCycle omsCycle = new OmsCycle();
        omsCycle.setCycleTypeCode("THREE_YEAR");
        omsCycle.setCycleTypeName("三年");//CUSTOM_CONVENTION
        // omsCycle.setCycleEndFirstDay(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME
        omsCycle.setCycleSystemCode("YEAR");
        omsCycle.setCycleTypeStandard("STANDARD");
        omsCycle.setPlatformData("TRUE");
        omsCycle.setOrderNumber(1L);//CUSTOM_CONVENTION
        omsCycle.setSubjectLifeCycle("CURRENTLY_VALID");
        if (invokeTemplateSemanticRes != null) {
            omsCycle.setCycleStandardName(invokeTemplateSemanticRes.getSentenceContent());
        }
        if (reqDto != null) {
            omsCycle.setCycleStartTime(reqDto.getCycleStartTime());
            omsCycle.setCycleEndTime(reqDto.getCycleEndTime());
        }

        /*3-4-04新增周期[2001]   */
        String string = mOmsCycleService.addCycle(omsCycle);

        string_1 = string;

        GenerateGenerateInstanceRespDto retData = new GenerateGenerateInstanceRespDto();
        if (string_1 != null) {
            retData.setCycleId(string_1);
        }


        return retData;
    }

    /**
     * 生成验证接口
     */
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateVerifyInterRespDto generateVerifyInter(GenerateVerifyInterReqDto reqDto) {


        String string_1 = null;
//步骤0: 生成验证接口 - generateVerifyInter
        //ModelCode: invokeTemplateSemantic
        GenerateVerifyInterReqDto invokeTemplateSemanticReq = new GenerateVerifyInterReqDto();
        invokeTemplateSemanticReq.setTemplateSemanticEngineCode("CYCLE_NAME");//CUSTOM_CONVENTION
        invokeTemplateSemanticReq.setTemplateContent("周期");//CUSTOM_CONVENTION
        invokeTemplateSemanticReq.setMetaDataColumnContent("测试测试");//CUSTOM_CONVENTION

        GenerateVerifyInterResDto invokeTemplateSemanticRes = nbDivineData.generateVerifyInter(invokeTemplateSemanticReq);


//步骤1: 3-4-04新增周期 - addCycle
        OmsCycle omsCycle = new OmsCycle();
        omsCycle.setCycleTypeCode("THREE_YEAR");
        omsCycle.setCycleTypeName("三年");//CUSTOM_CONVENTION
        //omsCycle.setCycleEndFirstDay(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME
        omsCycle.setCycleSystemCode("YEAR");
        omsCycle.setCycleTypeStandard("STANDARD");
        omsCycle.setPlatformData("TRUE");
        omsCycle.setOrderNumber(1L);//CUSTOM_CONVENTION
        omsCycle.setSubjectLifeCycle("CURRENTLY_VALID");
        if (invokeTemplateSemanticRes != null) {
            omsCycle.setCycleStandardName(invokeTemplateSemanticRes.getSentenceContent());
        }
        if (reqDto != null) {
            omsCycle.setCycleStartTime(reqDto.getCycleStartTime());
            omsCycle.setCycleEndTime(reqDto.getCycleEndTime());
        }

        /*3-4-04新增周期[2001]   */
        String string = mOmsCycleService.addCycle(omsCycle);

        string_1 = string;

        GenerateVerifyInterRespDto retData = new GenerateVerifyInterRespDto();
        if (string_1 != null) {
            retData.setCycleId(string_1);
        }


        return retData;
    }

    /**
     * 生成缓存合并输出树状数据[2426]
     */
    @Trace(operationName = "生成缓存合并输出树状数据")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateSpecMethodRespDto generateSpecMethod(GenerateSpecMethodReqDto reqDto) {


        String string_1 = null;
//步骤0: 生成验证接口 - generateVerifyInter
        //ModelCode: invokeTemplateSemantic
        GenerateVerifyInterResDto invokeTemplateSemanticRes = null;
        GenerateVerifyInterReqDto invokeTemplateSemanticReq = new GenerateVerifyInterReqDto();
        invokeTemplateSemanticReq.setTemplateSemanticEngineCode("CYCLE_NAME");//CUSTOM_CONVENTION//sourceId:73325_1
        invokeTemplateSemanticReq.setTemplateContent("周期");//CUSTOM_CONVENTION//sourceId:72214_1
        invokeTemplateSemanticReq.setMetaDataColumnContent("测试测试");//CUSTOM_CONVENTION//sourceId:73327_1

        /*生成验证接口[2425]   */
        invokeTemplateSemanticRes = nbDivineData.generateVerifyInter(invokeTemplateSemanticReq);


//步骤1: 3-4-04新增周期 - addCycle
        String string = null;
        OmsCycle omsCycle = new OmsCycle();
        omsCycle.setCycleTypeCode("THREE_YEAR");//sourceId:72032_1
        omsCycle.setCycleTypeName("三年");//CUSTOM_CONVENTION//sourceId:72039_1
        // omsCycle.setCycleEndFirstDay(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:72042_1
        omsCycle.setCycleSystemCode("YEAR");//sourceId:72034_1
        omsCycle.setCycleTypeStandard("STANDARD");//sourceId:72035_1
        omsCycle.setPlatformData("TRUE");//sourceId:72036_1
        omsCycle.setOrderNumber(1L);//CUSTOM_CONVENTION//sourceId:72041_1
        omsCycle.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:72037_1
        if (invokeTemplateSemanticRes != null) {
            omsCycle.setCycleStandardName(invokeTemplateSemanticRes.getSentenceContent());//sourceId:72029_1
        }
        if (reqDto != null) {
            omsCycle.setCycleStartTime(reqDto.getCycleStartTime());//sourceId:72030_1
            omsCycle.setCycleEndTime(reqDto.getCycleEndTime());//sourceId:72031_1
        }

        /*3-4-04新增周期[2001]   */
        string = mOmsCycleService.addCycle(omsCycle);

        string_1 = string;

        GenerateSpecMethodRespDto retData = new GenerateSpecMethodRespDto();
        if (string_1 != null) {
            retData.setCycleId(string_1);//sourceId:72230_1
        }


        return retData;
    }

    /**
     * D3执行定时任务接收参数[3303]
     * gen by moon at 2/19/2023, 1:53:14 PM
     */
    @Trace(operationName = "D3执行定时任务接收参数")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementTimingTaskAcceptParametersRespDto implementTimingTaskAcceptParameters(ImplementTimingTaskAcceptParametersReqDto reqDto) {


        //步骤0: M3-获取接收字段（特殊方法） - obtainReceiveField
        //ModelCode: receptionService
        ImplementDispatchAcceptParametersRespDto receptionServiceRes = null;
        ImplementDispatchAcceptParametersReqDto receptionServiceReq = new ImplementDispatchAcceptParametersReqDto();
        if (reqDto != null) {
            receptionServiceReq.setTimingTaskDispatchId(reqDto.getTimingTaskDispatchId());//SimpleFieldAssign//sourceId:142217_1
            receptionServiceReq.setDispatchActionTypeCode(reqDto.getDispatchActionTypeCode());//SimpleFieldAssign//sourceId:127495_1
            receptionServiceReq.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:142218_1
            receptionServiceReq.setStandbyField1(reqDto.getStandbyField1());//SimpleFieldAssign//sourceId:142219_1
            receptionServiceReq.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:127496_1
            receptionServiceReq.setAddRuleInfoTypeCode(reqDto.getAddRuleInfoTypeCode());//SimpleFieldAssign//sourceId:142220_1
            receptionServiceReq.setAddRuleInfoId(reqDto.getAddRuleInfoId());//SimpleFieldAssign//sourceId:127497_1
            receptionServiceReq.setAutoPlanTime(reqDto.getAutoPlanTime());//SimpleFieldAssign//sourceId:127498_1
            receptionServiceReq.setOperationInductionId(reqDto.getOperationInductionId());//SimpleFieldAssign//sourceId:142221_1
            receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:142222_1
            receptionServiceReq.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:252825_1
        }

        /*M3-获取接收字段（特殊方法）[2451]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getTimingTaskDispatchId(), "D3执行定时任务接收参数-M3-获取接收字段（特殊方法）-定时任务调度记录ID不能为空", false);
        Assert.isNull(receptionServiceReq.getDispatchActionTypeCode(), "D3执行定时任务接收参数-M3-获取接收字段（特殊方法）-任务调度的行为类型编码不能为空", false);
        Assert.isNull(receptionServiceReq.getObjectTypeCode(), "D3执行定时任务接收参数-M3-获取接收字段（特殊方法）-归属对象类型编码不能为空", false);
        Assert.isNull(receptionServiceReq.getObjectId(), "D3执行定时任务接收参数-M3-获取接收字段（特殊方法）-归属对象内容ID不能为空", false);
        Assert.isNull(receptionServiceReq.getOperationInductionId(), "D3执行定时任务接收参数-M3-获取接收字段（特殊方法）-操作人就职记录ID不能为空", false);
        Assert.isNull(receptionServiceReq.getSpaceId(), "D3执行定时任务接收参数-M3-获取接收字段（特殊方法）-创建于空间ID不能为空", false);
        Assert.isNull(receptionServiceReq.getAppId(), "D3执行定时任务接收参数-M3-获取接收字段（特殊方法）-创建于联盟应用ID不能为空", false);
        receptionServiceRes = nbDivineData.implementDispatchAcceptParameters(receptionServiceReq);


        ImplementTimingTaskAcceptParametersRespDto retData = new ImplementTimingTaskAcceptParametersRespDto();


        return retData;
    }

    /**
     * D3获取周期结束后第1天服务(公共)[3546]
     * gen by moon at 10/14/2022, 10:57:28 PM
     */
    @Trace(operationName = "D3获取周期结束后第1天服务(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ObtainCycleEndFirstDayComRespDto obtainCycleEndFirstDayCom(ObtainCycleEndFirstDayComReqDto reqDto) {


        ObtainCycleEndFirstDayRespDto getFirstDayAfterCycleRes_1 = null;
//步骤0: M3获取周期结束第1天(特殊方法） - obtainCycleEndFirstDay
        //ModelCode: getFirstDayAfterCycle
        ObtainCycleEndFirstDayRespDto getFirstDayAfterCycleRes = null;
        ObtainCycleEndFirstDayReqDto getFirstDayAfterCycleReq = new ObtainCycleEndFirstDayReqDto();
        if (reqDto != null) {
            getFirstDayAfterCycleReq.setCycleEndTime(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:155929_1
        }
  
    /*M3获取周期结束第1天(特殊方法）[2483]  入参：时间（周期结束时间）
逻辑：入参时间往后加一天
出参：时间 */
        Assert.isNull(getFirstDayAfterCycleReq.getCycleEndTime(), "D3获取周期结束后第1天服务(公共)-M3获取周期结束第1天(特殊方法）-周期结束时间不能为空", false);
        getFirstDayAfterCycleRes = nbDivineData.obtainCycleEndFirstDay(getFirstDayAfterCycleReq);


        getFirstDayAfterCycleRes_1 = getFirstDayAfterCycleRes;

        ObtainCycleEndFirstDayComRespDto retData = new ObtainCycleEndFirstDayComRespDto();
        if (getFirstDayAfterCycleRes_1 != null) {
            retData.setCycleEndFirstDay(getFirstDayAfterCycleRes_1.getCycleEndFirstDay());//SimpleFieldAssign//sourceId:155932_1
        }


        return retData;
    }

    /**
     * D3获取接收字段服务(公共)[3774]
     * gen by moon at 9/14/2024, 4:12:59 PM
     */
    @Trace(operationName = "D3获取接收字段服务(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ObtainReceiveFieldComRespDto obtainReceiveFieldCom(ObtainReceiveFieldComReqDto reqDto) {


        ObtainReceiveFieldRespDto receptionServiceRes_1 = null;
//步骤0: M3-获取接收字段（特殊方法） - obtainReceiveField
        //ModelCode: receptionService
        ObtainReceiveFieldRespDto receptionServiceRes = null;
        ObtainReceiveFieldReqDto receptionServiceReq = new ObtainReceiveFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:527434_1
            receptionServiceReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:527435_1
            receptionServiceReq.setActualValue(reqDto.getActualValue());//SimpleFieldAssign//sourceId:776199_1
            receptionServiceReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:318959_1
            receptionServiceReq.setProgressValue(reqDto.getProgressValue());//SimpleFieldAssign//sourceId:776200_1
            receptionServiceReq.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:527437_1
            receptionServiceReq.setStaWorSumCon(reqDto.getStaWorSumCon());//SimpleFieldAssign//sourceId:527438_1
            receptionServiceReq.setSumOfPro(reqDto.getSumOfPro());//SimpleFieldAssign//sourceId:527436_1
            receptionServiceReq.setSolvingIdeas(reqDto.getSolvingIdeas());//SimpleFieldAssign//sourceId:527458_1
            receptionServiceReq.setIsActualReceptionCycle(reqDto.getIsActualReceptionCycle());//SimpleFieldAssign//sourceId:527439_1
            receptionServiceReq.setEnterMgtPowerType(reqDto.getEnterMgtPowerType());//SimpleFieldAssign//sourceId:180963_1
            receptionServiceReq.setIsAllowOpt(reqDto.getIsAllowOpt());//SimpleFieldAssign//sourceId:179538_1
            receptionServiceReq.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:527474_1
            receptionServiceReq.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:527475_1
            receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:527433_1
            receptionServiceReq.setDocumentList(reqDto.getDocumentList());//list-field-assign//sourceId:527440_1
            receptionServiceReq.setActualValueUnit(reqDto.getActualValueUnit());//SimpleFieldAssign//sourceId:776201_1
            receptionServiceReq.setProgressValueUnit(reqDto.getProgressValueUnit());//SimpleFieldAssign//sourceId:776202_1
            receptionServiceReq.setCountActualValue(reqDto.getCountActualValue());//SimpleFieldAssign//sourceId:776203_1
            receptionServiceReq.setCountActualValueUnit(reqDto.getCountActualValueUnit());//SimpleFieldAssign//sourceId:776204_1
            receptionServiceReq.setCountChangeFromLastTarget(reqDto.getCountChangeFromLastTarget());//SimpleFieldAssign//sourceId:776205_1
            receptionServiceReq.setCountFromLastTargetLiftRatio(reqDto.getCountFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:776206_1
            receptionServiceReq.setCountChangeFromLastTargetUnit(reqDto.getCountChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:776207_1
            receptionServiceReq.setCountFromLastTargetLiftRatioUnit(reqDto.getCountFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:776208_1
            receptionServiceReq.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1493433_1
            receptionServiceReq.setProgressFromLastRatio(reqDto.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:776644_1
            receptionServiceReq.setProgressFromLastRatioUnit(reqDto.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:776645_1
            receptionServiceReq.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1419936_1
            receptionServiceReq.setCustomField(reqDto.getCustomField());//SimpleFieldAssign//sourceId:1998241_1
            receptionServiceReq.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1998242_1
            receptionServiceReq.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1998243_1
            receptionServiceReq.setFromLastProgressValue(reqDto.getFromLastProgressValue());//SimpleFieldAssign//sourceId:776646_1
            receptionServiceReq.setFromLastProgressValueUnit(reqDto.getFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:776647_1
            receptionServiceReq.setCustomField3(reqDto.getCustomField3());//SimpleFieldAssign//sourceId:1998244_1
            receptionServiceReq.setParentProgressValue(reqDto.getParentProgressValue());//SimpleFieldAssign//sourceId:776636_1
            receptionServiceReq.setParentActualValue(reqDto.getParentActualValue());//SimpleFieldAssign//sourceId:776637_1
            receptionServiceReq.setCountProgressValue(reqDto.getCountProgressValue());//SimpleFieldAssign//sourceId:776648_1
            receptionServiceReq.setCountFromLastProgressValue(reqDto.getCountFromLastProgressValue());//SimpleFieldAssign//sourceId:776649_1
            receptionServiceReq.setCountProgressFromLastRatio(reqDto.getCountProgressFromLastRatio());//SimpleFieldAssign//sourceId:776650_1
            receptionServiceReq.setCountProgressValueUnit(reqDto.getCountProgressValueUnit());//SimpleFieldAssign//sourceId:776651_1
            receptionServiceReq.setCountFromLastProgressValueUnit(reqDto.getCountFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:776652_1
            receptionServiceReq.setCountProgressFromLastRatioUnit(reqDto.getCountProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:776653_1
            receptionServiceReq.setWorkCycleIsOpenReport(reqDto.getWorkCycleIsOpenReport());//SimpleFieldAssign//sourceId:2000995_1
            receptionServiceReq.setIsOpenReportTaskCycleSelect(reqDto.getIsOpenReportTaskCycleSelect());//SimpleFieldAssign//sourceId:2000996_1
            receptionServiceReq.setIsOpenReportTaskPersonSelect(reqDto.getIsOpenReportTaskPersonSelect());//SimpleFieldAssign//sourceId:2000997_1
            receptionServiceReq.setIsOpenReportTaskDeptSelect(reqDto.getIsOpenReportTaskDeptSelect());//SimpleFieldAssign//sourceId:2000998_1
            receptionServiceReq.setIsOpenReportTaskCateSelect(reqDto.getIsOpenReportTaskCateSelect());//SimpleFieldAssign//sourceId:2001021_1
            receptionServiceReq.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1493438_1
        }

        /*M3-获取接收字段（特殊方法）[2451]  用于特殊方法接收上游入参。 */

        receptionServiceRes = nbDivineData.obtainReceiveField(receptionServiceReq);


        receptionServiceRes_1 = receptionServiceRes;

        ObtainReceiveFieldComRespDto retData = new ObtainReceiveFieldComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setIsAllowOpt(receptionServiceRes_1.getIsAllowOpt());//SimpleFieldAssign//sourceId:179540_1
            retData.setEnterMgtPowerType(receptionServiceRes_1.getEnterMgtPowerType());//SimpleFieldAssign//sourceId:180966_1
            retData.setProgressValueElement(receptionServiceRes_1.getProgressValueElement() != null ? Long.valueOf(receptionServiceRes_1.getProgressValueElement()) : null);
            retData.setActualValueElement(receptionServiceRes_1.getActualValueElement() != null ? Long.valueOf(receptionServiceRes_1.getActualValueElement()) : null);//SimpleFieldAssign//sourceId:776425_1
            retData.setBudgetAmountElement(receptionServiceRes_1.getBudgetAmountElement() != null ? Long.valueOf(receptionServiceRes_1.getBudgetAmountElement()) : null);//SimpleFieldAssign//sourceId:776426_1
            retData.setOpenMidCycle(receptionServiceRes_1.getOpenMidCycle());//SimpleFieldAssign//sourceId:776427_1
            retData.setCycleMode(receptionServiceRes_1.getCycleMode());//SimpleFieldAssign//sourceId:776428_1
            retData.setFatherCycleType(receptionServiceRes_1.getFatherCycleType());//SimpleFieldAssign//sourceId:776429_1
            retData.setMidCycleType(receptionServiceRes_1.getMidCycleType());//SimpleFieldAssign//sourceId:776430_1
            retData.setSubcycleType(receptionServiceRes_1.getSubcycleType());//SimpleFieldAssign//sourceId:776431_1
            retData.setMonocycleCycleType(receptionServiceRes_1.getMonocycleCycleType());//SimpleFieldAssign//sourceId:776432_1
            retData.setIrregularCycleType(receptionServiceRes_1.getIrregularCycleType());//SimpleFieldAssign//sourceId:776433_1
            retData.setBatchHandleSpeed(receptionServiceRes_1.getBatchHandleSpeed());//SimpleFieldAssign//sourceId:776434_1
            retData.setTargetCycleContentTypeCode(receptionServiceRes_1.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:776435_1
            retData.setTargetCycleContentId(receptionServiceRes_1.getTargetCycleContentId());//SimpleFieldAssign//sourceId:776436_1
            retData.setCycleId(receptionServiceRes_1.getCycleId());//SimpleFieldAssign//sourceId:776437_1
            retData.setCycleStartTime(receptionServiceRes_1.getCycleStartTime());//SimpleFieldAssign//sourceId:776438_1
            retData.setCycleEndTime(receptionServiceRes_1.getCycleEndTime());//SimpleFieldAssign//sourceId:776439_1
            retData.setReportType(receptionServiceRes_1.getReportType());//SimpleFieldAssign//sourceId:776440_1
            retData.setReportManagementModel(receptionServiceRes_1.getReportManagementModel());//SimpleFieldAssign//sourceId:776441_1
            retData.setIsOpenCustomReport(receptionServiceRes_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:776442_1
            retData.setNoPracticalValueObjIsProgReport(receptionServiceRes_1.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:776443_1
            retData.setTargetId(receptionServiceRes_1.getTargetId());//SimpleFieldAssign//sourceId:776444_1
            retData.setEvaluationTemplateId(receptionServiceRes_1.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:776445_1
            retData.setSpaceId(receptionServiceRes_1.getSpaceId());//SimpleFieldAssign//sourceId:776446_1
            retData.setLastCycleType(receptionServiceRes_1.getLastCycleType());//SimpleFieldAssign//sourceId:776447_1
            retData.setOutputNum(receptionServiceRes_1.getOutputNum());//SimpleFieldAssign//sourceId:776448_1
            retData.setBatchCurrentStatus(receptionServiceRes_1.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:776449_1
            retData.setEnterMgtObj(receptionServiceRes_1.getEnterMgtObj());//SimpleFieldAssign//sourceId:776450_1
            retData.setOutMgtObj(receptionServiceRes_1.getOutMgtObj());//SimpleFieldAssign//sourceId:776451_1
            retData.setSetCompleteObj(receptionServiceRes_1.getSetCompleteObj());//SimpleFieldAssign//sourceId:776452_1
            retData.setCancelSetCompleteObj(receptionServiceRes_1.getCancelSetCompleteObj());//SimpleFieldAssign//sourceId:776453_1
            retData.setSuspendedObj(receptionServiceRes_1.getSuspendedObj());//SimpleFieldAssign//sourceId:776454_1
            retData.setRestoreObj(receptionServiceRes_1.getRestoreObj());//SimpleFieldAssign//sourceId:776455_1
            retData.setChangeRecordObj(receptionServiceRes_1.getChangeRecordObj());//SimpleFieldAssign//sourceId:776456_1
            retData.setCancelRevisionObj(receptionServiceRes_1.getCancelRevisionObj());//SimpleFieldAssign//sourceId:776457_1
            retData.setReleaseEffectObj(receptionServiceRes_1.getReleaseEffectObj());//SimpleFieldAssign//sourceId:776458_1
            retData.setLockReasonObj(receptionServiceRes_1.getLockReasonObj());//SimpleFieldAssign//sourceId:776459_1
            retData.setStartMgtObj(receptionServiceRes_1.getStartMgtObj());//SimpleFieldAssign//sourceId:776460_1
            retData.setFirstOperation(receptionServiceRes_1.getFirstOperation());//SimpleFieldAssign//sourceId:776461_1
            retData.setTrailingOperation(receptionServiceRes_1.getTrailingOperation());//SimpleFieldAssign//sourceId:776462_1
            retData.setMixtureOperation(receptionServiceRes_1.getMixtureOperation());//SimpleFieldAssign//sourceId:776463_1
            retData.setInitiateRevisionObj(receptionServiceRes_1.getInitiateRevisionObj());//SimpleFieldAssign//sourceId:776464_1
            retData.setBatchCode(receptionServiceRes_1.getBatchCode());//SimpleFieldAssign//sourceId:776465_1
            retData.setBatchMgtOperationType(receptionServiceRes_1.getBatchMgtOperationType());//SimpleFieldAssign//sourceId:776466_1
            retData.setBatchStepOperation(receptionServiceRes_1.getBatchStepOperation());//SimpleFieldAssign//sourceId:776467_1
            retData.setLifecyCycleOperationType(receptionServiceRes_1.getLifecyCycleOperationType());//SimpleFieldAssign//sourceId:776468_1
            retData.setDeptId(receptionServiceRes_1.getDeptId());//SimpleFieldAssign//sourceId:776469_1
            retData.setDeptTargetTaskBookId(receptionServiceRes_1.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:776470_1
            retData.setDeptOkrTargetId(receptionServiceRes_1.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:776471_1
            retData.setBatchOperateScene(receptionServiceRes_1.getBatchOperateScene());//SimpleFieldAssign//sourceId:776472_1
            retData.setDeptTargetWeightSet(receptionServiceRes_1.getDeptTargetWeightSet());//SimpleFieldAssign//sourceId:776473_1
            retData.setStepMenus(receptionServiceRes_1.getStepMenus());//SimpleFieldAssign//sourceId:776474_1
            retData.setStepItem(receptionServiceRes_1.getStepItem());//SimpleFieldAssign//sourceId:776475_1
            retData.setEquativeDept(receptionServiceRes_1.getEquativeDept());//SimpleFieldAssign//sourceId:776476_1
            retData.setDeptType(receptionServiceRes_1.getDeptType());//SimpleFieldAssign//sourceId:776477_1
            retData.setPresentDept(receptionServiceRes_1.getPresentDept());//SimpleFieldAssign//sourceId:776478_1
            retData.setDivisionContType(receptionServiceRes_1.getDivisionContType());//SimpleFieldAssign//sourceId:776479_1
            retData.setDivisionContType(receptionServiceRes_1.getDivisionContType());//SimpleFieldAssign//sourceId:776480_1
            retData.setCreateLowerIndicator(receptionServiceRes_1.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:776481_1
            retData.setTargetDivisionSame(receptionServiceRes_1.getTargetDivisionSame());//SimpleFieldAssign//sourceId:776482_1
            retData.setCode(receptionServiceRes_1.getCode());//SimpleFieldAssign//sourceId:776483_1
            retData.setDivisionDesc(receptionServiceRes_1.getDivisionDesc());//SimpleFieldAssign//sourceId:776484_1
            retData.setAcceptancePlanTime(receptionServiceRes_1.getAcceptancePlanTime());//SimpleFieldAssign//sourceId:776485_1
            retData.setIsReqCycleRange(receptionServiceRes_1.getIsReqCycleRange());//SimpleFieldAssign//sourceId:776486_1
            retData.setTargetValueType(receptionServiceRes_1.getTargetValueType());//SimpleFieldAssign//sourceId:776487_1
            retData.setTargetCycleName(receptionServiceRes_1.getTargetCycleName());//SimpleFieldAssign//sourceId:776488_1
            retData.setCycleStandardName(receptionServiceRes_1.getCycleStandardName());//SimpleFieldAssign//sourceId:776489_1
            retData.setCycleNumberShortName(receptionServiceRes_1.getCycleNumberShortName());//SimpleFieldAssign//sourceId:776490_1
            retData.setCycleNumberShortName(receptionServiceRes_1.getCycleNumberShortName());//SimpleFieldAssign//sourceId:776491_1
            retData.setDeptTreeQueryPerson(receptionServiceRes_1.getDeptTreeQueryPerson());//SimpleFieldAssign//sourceId:776492_1
            retData.setDeptTree(receptionServiceRes_1.getDeptTree());//SimpleFieldAssign//sourceId:776493_1
            retData.setDeptList(receptionServiceRes_1.getDeptList());//SimpleFieldAssign//sourceId:776494_1
            retData.setDeptListQueryPerson(receptionServiceRes_1.getDeptListQueryPerson());//SimpleFieldAssign//sourceId:776495_1
            retData.setInaugurationList(receptionServiceRes_1.getInaugurationList());//SimpleFieldAssign//sourceId:776496_1
            retData.setDivisionContId(receptionServiceRes_1.getDivisionContId());//SimpleFieldAssign//sourceId:776497_1
            retData.setDivisionOrgType(receptionServiceRes_1.getDivisionOrgType());//SimpleFieldAssign//sourceId:776498_1
            retData.setRespBodyPerson(receptionServiceRes_1.getRespBodyPerson());//SimpleFieldAssign//sourceId:776499_1
            retData.setRespBodyDept(receptionServiceRes_1.getRespBodyDept());//SimpleFieldAssign//sourceId:776500_1
            retData.setDivisionSwich(receptionServiceRes_1.getDivisionSwich());//SimpleFieldAssign//sourceId:776501_1
            retData.setSubordinateDivType(receptionServiceRes_1.getSubordinateDivType());//SimpleFieldAssign//sourceId:776502_1
            retData.setRoleCode(receptionServiceRes_1.getRoleCode());//SimpleFieldAssign//sourceId:776503_1
            retData.setRespBodyType(receptionServiceRes_1.getRespBodyType());//SimpleFieldAssign//sourceId:776504_1
            retData.setToLevelNumber(receptionServiceRes_1.getToLevelNumber());//SimpleFieldAssign//sourceId:776505_1
            retData.setDownwardDivElementType(receptionServiceRes_1.getDownwardDivElementType());//SimpleFieldAssign//sourceId:776506_1
            retData.setSubjectLifeCycle(receptionServiceRes_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:776507_1
            retData.setTargetValue(receptionServiceRes_1.getTargetValue());//SimpleFieldAssign//sourceId:776508_1
            retData.setObjectiveId(receptionServiceRes_1.getObjectiveId());//SimpleFieldAssign//sourceId:776509_1
            retData.setQuantityObjectiveNoValue(receptionServiceRes_1.getQuantityObjectiveNoValue());//SimpleFieldAssign//sourceId:776510_1
            retData.setSubjectTypeCode(receptionServiceRes_1.getSubjectTypeCode());//SimpleFieldAssign//sourceId:776511_1
            retData.setSubjectChangeType(receptionServiceRes_1.getSubjectChangeType());//SimpleFieldAssign//sourceId:776512_1
            retData.setUnit(receptionServiceRes_1.getUnit());//SimpleFieldAssign//sourceId:776513_1
            retData.setObjectivePlanningExtendId(receptionServiceRes_1.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:776514_1
            retData.setEvaTempStartMgtType(receptionServiceRes_1.getEvaTempStartMgtType());//SimpleFieldAssign//sourceId:776515_1
            retData.setLaunchAudit(receptionServiceRes_1.getLaunchAudit());//SimpleFieldAssign//sourceId:776516_1
            retData.setNotarizeTargetIssued(receptionServiceRes_1.getNotarizeTargetIssued());//SimpleFieldAssign//sourceId:776517_1
            retData.setExecuteTargetArrange(receptionServiceRes_1.getExecuteTargetArrange());//SimpleFieldAssign//sourceId:776518_1
            retData.setAchieveArrange(receptionServiceRes_1.getAchieveArrange());//SimpleFieldAssign//sourceId:776519_1
            retData.setTargetTaskDivision(receptionServiceRes_1.getTargetTaskDivision());//SimpleFieldAssign//sourceId:776520_1
            retData.setEditTargetArrange(receptionServiceRes_1.getEditTargetArrange());//SimpleFieldAssign//sourceId:776521_1
            retData.setBatchStartTime(receptionServiceRes_1.getBatchStartTime());//SimpleFieldAssign//sourceId:776522_1
            retData.setBatchEndtTime(receptionServiceRes_1.getBatchEndtTime());//SimpleFieldAssign//sourceId:776523_1
            retData.setIsUpdate(receptionServiceRes_1.getIsUpdate());//SimpleFieldAssign//sourceId:776524_1
            retData.setUpdateStatus(receptionServiceRes_1.getUpdateStatus());//SimpleFieldAssign//sourceId:776525_1
            retData.setArchivngType(receptionServiceRes_1.getArchivngType());//SimpleFieldAssign//sourceId:776526_1
            retData.setIsEditing(receptionServiceRes_1.getIsEditing());//SimpleFieldAssign//sourceId:776527_1
            retData.setIsArchive(receptionServiceRes_1.getIsArchive());//SimpleFieldAssign//sourceId:776528_1
            retData.setSystestPeriodId(receptionServiceRes_1.getSystestPeriodId());//SimpleFieldAssign//sourceId:776529_1
            retData.setAddEvaTempButtom(receptionServiceRes_1.getAddEvaTempButtom());//SimpleFieldAssign//sourceId:776530_1
            retData.setEvaTempMgtSence(receptionServiceRes_1.getEvaTempMgtSence());//SimpleFieldAssign//sourceId:776531_1
            retData.setEvaTempBatchMgtOperationType(receptionServiceRes_1.getEvaTempBatchMgtOperationType());//SimpleFieldAssign//sourceId:776532_1
            retData.setTopStepOneOperateType(receptionServiceRes_1.getTopStepOneOperateType());//SimpleFieldAssign//sourceId:776533_1
            retData.setObjectName(receptionServiceRes_1.getObjectName());//SimpleFieldAssign//sourceId:776534_1
            retData.setPlanStaffingAchieve(receptionServiceRes_1.getPlanStaffingAchieve());//SimpleFieldAssign//sourceId:776535_1
            retData.setReedit(receptionServiceRes_1.getReedit());//SimpleFieldAssign//sourceId:776536_1
            retData.setOriColumnContent(receptionServiceRes_1.getOriColumnContent());//SimpleFieldAssign//sourceId:776537_1
            retData.setDutyBodyId(receptionServiceRes_1.getDutyBodyId());//SimpleFieldAssign//sourceId:776538_1
            retData.setDutyBodyName(receptionServiceRes_1.getDutyBodyName());//SimpleFieldAssign//sourceId:776539_1
            retData.setIsMainplan(receptionServiceRes_1.getIsMainplan());//SimpleFieldAssign//sourceId:776540_1
            retData.setBatchId(receptionServiceRes_1.getBatchId());//SimpleFieldAssign//sourceId:776541_1
            retData.setCompileTargetTaskRoom(receptionServiceRes_1.getCompileTargetTaskRoom());//SimpleFieldAssign//sourceId:776542_1
            retData.setTargetTaskDivRoom(receptionServiceRes_1.getTargetTaskDivRoom());//SimpleFieldAssign//sourceId:776543_1
            retData.setDeptTargetWeightSetRoom(receptionServiceRes_1.getDeptTargetWeightSetRoom());//SimpleFieldAssign//sourceId:776544_1
            retData.setPalnCompileAchieveRoom(receptionServiceRes_1.getPalnCompileAchieveRoom());//SimpleFieldAssign//sourceId:776545_1
            retData.setLeadTargetArrangeRoom(receptionServiceRes_1.getLeadTargetArrangeRoom());//SimpleFieldAssign//sourceId:776546_1
            retData.setExecuteTargetArrangeRoom(receptionServiceRes_1.getExecuteTargetArrangeRoom());//SimpleFieldAssign//sourceId:776547_1
            retData.setAchieveArrangeRoom(receptionServiceRes_1.getAchieveArrangeRoom());//SimpleFieldAssign//sourceId:776548_1
            retData.setNotarizeSelectedTargetObj(receptionServiceRes_1.getNotarizeSelectedTargetObj());//SimpleFieldAssign//sourceId:776549_1
            retData.setNextStep(receptionServiceRes_1.getNextStep());//SimpleFieldAssign//sourceId:776550_1
            retData.setTargetCycleSet(receptionServiceRes_1.getTargetCycleSet());//SimpleFieldAssign//sourceId:776551_1
            retData.setWeightSet(receptionServiceRes_1.getWeightSet());//SimpleFieldAssign//sourceId:776552_1
            retData.setTargetValueSet(receptionServiceRes_1.getTargetValueSet());//SimpleFieldAssign//sourceId:776553_1
            retData.setSetChargePerson(receptionServiceRes_1.getSetChargePerson());//SimpleFieldAssign//sourceId:776554_1
            retData.setSetParticipator(receptionServiceRes_1.getSetParticipator());//SimpleFieldAssign//sourceId:776555_1
            retData.setDivideStrategySet(receptionServiceRes_1.getDivideStrategySet());//SimpleFieldAssign//sourceId:776556_1
            retData.setSetBudget(receptionServiceRes_1.getSetBudget());//SimpleFieldAssign//sourceId:776557_1
            retData.setNotarizeSelectedSubject(receptionServiceRes_1.getNotarizeSelectedSubject());//SimpleFieldAssign//sourceId:776558_1
            retData.setAddTargetObj(receptionServiceRes_1.getAddTargetObj());//SimpleFieldAssign//sourceId:776559_1
            retData.setMSetCompleteObj(receptionServiceRes_1.getMSetCompleteObj());//SimpleFieldAssign//sourceId:776560_1
            retData.setMCancelSetCompleteObj(receptionServiceRes_1.getMCancelSetCompleteObj());//SimpleFieldAssign//sourceId:776561_1
            retData.setTargetStartValue(receptionServiceRes_1.getTargetStartValue());//SimpleFieldAssign//sourceId:776562_1
            retData.setSetTargetPgsStatus(receptionServiceRes_1.getSetTargetPgsStatus());//SimpleFieldAssign//sourceId:776563_1
            retData.setBizAppCode(receptionServiceRes_1.getBizAppCode());//SimpleFieldAssign//sourceId:776564_1
            retData.setBizSceneCode(receptionServiceRes_1.getBizSceneCode());//SimpleFieldAssign//sourceId:776565_1
            retData.setObjectPropertyName(receptionServiceRes_1.getObjectPropertyName());//SimpleFieldAssign//sourceId:776566_1
            retData.setLastCycleId(receptionServiceRes_1.getLastCycleId());//SimpleFieldAssign//sourceId:776568_1
            retData.setParentEvaObjTargetCycleCode(receptionServiceRes_1.getParentEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:776569_1
            retData.setParentEvaObjTargetCycleId(receptionServiceRes_1.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:776570_1
            retData.setLastEvaObjTargetCycleId(receptionServiceRes_1.getLastEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:776571_1
            retData.setComNumField(receptionServiceRes_1.getComNumField());//SimpleFieldAssign//sourceId:776572_1
            retData.setComNumField1(receptionServiceRes_1.getComNumField1());//SimpleFieldAssign//sourceId:776573_1
            retData.setComNumField2(receptionServiceRes_1.getComNumField2());//SimpleFieldAssign//sourceId:776574_1
            retData.setComTxtField(receptionServiceRes_1.getComTxtField());//SimpleFieldAssign//sourceId:776575_1
            retData.setIsPersonCharge(receptionServiceRes_1.getIsPersonCharge());//SimpleFieldAssign//sourceId:776576_1
            retData.setInductionRecordId(receptionServiceRes_1.getInductionRecordId());//SimpleFieldAssign//sourceId:776577_1
            retData.setReportTaskCanBeEva(receptionServiceRes_1.getReportTaskCanBeEva());//SimpleFieldAssign//sourceId:776578_1
            retData.setCancleTaskReport(receptionServiceRes_1.getCancleTaskReport());//SimpleFieldAssign//sourceId:776579_1
            retData.setReleaseTaskReport(receptionServiceRes_1.getReleaseTaskReport());//SimpleFieldAssign//sourceId:776580_1
            retData.setCheckTaskReport(receptionServiceRes_1.getCheckTaskReport());//SimpleFieldAssign//sourceId:776581_1
            retData.setFollowTimePeriodStartTime(receptionServiceRes_1.getFollowTimePeriodStartTime());//SimpleFieldAssign//sourceId:776582_1
            retData.setFollowTimePeriodEndTime(receptionServiceRes_1.getFollowTimePeriodEndTime());//SimpleFieldAssign//sourceId:776583_1
            retData.setNextCyclePeriodAnalyseResult(receptionServiceRes_1.getNextCyclePeriodAnalyseResult());//SimpleFieldAssign//sourceId:776584_1
            retData.setTimePeriodStartTime(receptionServiceRes_1.getTimePeriodStartTime());//SimpleFieldAssign//sourceId:776585_1
            retData.setTimePeriodEndTime(receptionServiceRes_1.getTimePeriodEndTime());//SimpleFieldAssign//sourceId:776586_1
            retData.setRootObjectiveId(receptionServiceRes_1.getRootObjectiveId());//SimpleFieldAssign//sourceId:776587_1
            retData.setRootTargetCategoryId(receptionServiceRes_1.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:776588_1
            retData.setLevelNumber(receptionServiceRes_1.getLevelNumber());//SimpleFieldAssign//sourceId:776589_1
            retData.setParentProgressValue(receptionServiceRes_1.getParentProgressValue());//SimpleFieldAssign//sourceId:776590_1
            retData.setParentActualValue(receptionServiceRes_1.getParentActualValue());//SimpleFieldAssign//sourceId:776591_1
            retData.setProgressValue(receptionServiceRes_1.getProgressValue());//SimpleFieldAssign//sourceId:776592_1
            retData.setCountProgressValue(receptionServiceRes_1.getCountProgressValue());//SimpleFieldAssign//sourceId:776593_1
            retData.setProgressValueUnit(receptionServiceRes_1.getProgressValueUnit());//SimpleFieldAssign//sourceId:776594_1
            retData.setCountProgressValueUnit(receptionServiceRes_1.getCountProgressValueUnit());//SimpleFieldAssign//sourceId:776595_1
            retData.setActualValue(receptionServiceRes_1.getActualValue());//SimpleFieldAssign//sourceId:776596_1
            retData.setCountActualValue(receptionServiceRes_1.getCountActualValue());//SimpleFieldAssign//sourceId:776597_1
            retData.setActualValueUnit(receptionServiceRes_1.getActualValueUnit());//SimpleFieldAssign//sourceId:776598_1
            retData.setCountActualValueUnit(receptionServiceRes_1.getCountActualValueUnit());//SimpleFieldAssign//sourceId:776599_1
            retData.setCountChangeFromLastTarget(receptionServiceRes_1.getCountChangeFromLastTarget());//SimpleFieldAssign//sourceId:776600_1
            retData.setCountFromLastTargetLiftRatio(receptionServiceRes_1.getCountFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:776601_1
            retData.setCountFromLastProgressValue(receptionServiceRes_1.getCountFromLastProgressValue());//SimpleFieldAssign//sourceId:776602_1
            retData.setCountProgressFromLastRatio(receptionServiceRes_1.getCountProgressFromLastRatio());//SimpleFieldAssign//sourceId:776603_1
            retData.setCountChangeFromLastTargetUnit(receptionServiceRes_1.getCountChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:776604_1
            retData.setCountFromLastTargetLiftRatioUnit(receptionServiceRes_1.getCountFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:776605_1
            retData.setCountFromLastProgressValueUnit(receptionServiceRes_1.getCountFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:776606_1
            retData.setCountProgressFromLastRatioUnit(receptionServiceRes_1.getCountProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:776607_1
            retData.setOriginalRoleMemberId(receptionServiceRes_1.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1493440_1
            retData.setCustomField(receptionServiceRes_1.getCustomField());//SimpleFieldAssign//sourceId:776567_1
            retData.setWorkTaskObjectType(receptionServiceRes_1.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1493441_1
            retData.setCustomField1(receptionServiceRes_1.getCustomField1());//SimpleFieldAssign//sourceId:1998252_1
            retData.setCustomField2(receptionServiceRes_1.getCustomField2());//SimpleFieldAssign//sourceId:1998253_1
            retData.setCustomField3(receptionServiceRes_1.getCustomField3());//SimpleFieldAssign//sourceId:1998254_1
            retData.setWorkCycleIsOpenReport(receptionServiceRes_1.getWorkCycleIsOpenReport());//SimpleFieldAssign//sourceId:2001007_1
            retData.setIsOpenReportTaskCycleSelect(receptionServiceRes_1.getIsOpenReportTaskCycleSelect());//SimpleFieldAssign//sourceId:2001008_1
            retData.setIsOpenReportTaskPersonSelect(receptionServiceRes_1.getIsOpenReportTaskPersonSelect());//SimpleFieldAssign//sourceId:2001009_1
            retData.setIsOpenReportTaskDeptSelect(receptionServiceRes_1.getIsOpenReportTaskDeptSelect());//SimpleFieldAssign//sourceId:2001010_1
            retData.setIsOpenReportTaskCateSelect(receptionServiceRes_1.getIsOpenReportTaskCateSelect());//SimpleFieldAssign//sourceId:2001024_1
        }


        return retData;
    }

    /**
     * D3-获取数据集最大值加一(公共)[4605]
     * gen by moon at 9/19/2022, 3:23:16 PM
     */
    @Trace(operationName = "D3-获取数据集最大值加一(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ObtainMaxOfCollectionsComRespDto obtainMaxOfCollectionsCom(ObtainMaxOfCollectionsComReqDto reqDto) {


        ObtainMaxOfCollectionsRespDto maxOfMultipleNumAddOneRes_1 = null;
//步骤0: M3-获取取数据集最大值（特殊方法） - obtainMaxOfCollections
        //ModelCode: maxOfMultipleNumAddOne
        ObtainMaxOfCollectionsRespDto maxOfMultipleNumAddOneRes = null;
        ObtainMaxOfCollectionsReqDto maxOfMultipleNumAddOneReq = new ObtainMaxOfCollectionsReqDto();
        if (reqDto != null) {
            maxOfMultipleNumAddOneReq.setBusAppDocRelaList(reqDto.getBusAppDocRelaList());//sourceId:334035_1
        }

        /*M3-获取取数据集最大值（特殊方法）[3286]  用于取数据集中最大的数值，在最大数值基础上加一，输出 */

        maxOfMultipleNumAddOneRes = nbDivineData.obtainMaxOfCollections(maxOfMultipleNumAddOneReq);


        maxOfMultipleNumAddOneRes_1 = maxOfMultipleNumAddOneRes;

        ObtainMaxOfCollectionsComRespDto retData = new ObtainMaxOfCollectionsComRespDto();
        if (maxOfMultipleNumAddOneRes_1 != null) {
            retData.setOrderNumber(maxOfMultipleNumAddOneRes_1.getOrderNumber());//sourceId:334038_1
        }


        return retData;
    }

    /**
     * D数据集转字段(特殊方法)[2260]
     * gen by moon at 7/5/2023, 1:49:28 AM
     */
    @Trace(operationName = "D数据集转字段(特殊方法)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public TransitionColumnToRowRespDto transitionColumnToRow(TransitionColumnToRowReqDto reqDto) {


        TransitionColumnToRowRespDto rowToColumnRes_1 = null;
//步骤0: M-数据集转字段(特殊方法） - transitionColumnToRow
        //ModelCode: rowToColumn
        TransitionColumnToRowRespDto rowToColumnRes = null;
        TransitionColumnToRowReqDto rowToColumnReq = new TransitionColumnToRowReqDto();
        if (reqDto != null) {
            rowToColumnReq.setStandardDataList(reqDto.getStandardDataList().stream().map(item -> BeanUtil.toBean(item, StandardDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:66346_1
        }

        /*M-数据集转字段(特殊方法）[2261]  导入变更字段使用，将excel每行数据转换成列 */

        rowToColumnRes = nbDivineData.transitionColumnToRow(rowToColumnReq);


        rowToColumnRes_1 = rowToColumnRes;

        TransitionColumnToRowRespDto retData = new TransitionColumnToRowRespDto();
        if (rowToColumnRes_1 != null) {
            retData.setStandardDataList(rowToColumnRes_1.getStandardDataList().stream().map(item -> BeanUtil.toBean(item, StandardDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:66349_1
        }


        return retData;
    }

    /**
     * D3执行接收内容表主键id(公共)[8835]
     * gen by moon at 3/27/2024, 8:22:53 PM
     */
    @Trace(operationName = "D3执行接收内容表主键id(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementReceiveContentIdComRespDto implementReceiveContentIdCom(ImplementReceiveContentIdComReqDto reqDto) {


        ImplementEightReceivingFieldRespDto receptionServiceRes_1 = null;
//步骤0: M3执行第八接收字段（特殊方法） - implementEightReceivingField
        //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
        ImplementEightReceivingFieldReqDto receptionServiceReq = new ImplementEightReceivingFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setEntityIdList(reqDto.getEntityIdList().stream().map(item -> BeanUtil.toBean(item, EntityIdDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1660846_1
        }

        /*M3接收内容表主键id[8691]  用于特殊方法接收上游入参。 */

        receptionServiceRes = nbDivineData.implementEightReceivingField(receptionServiceReq);


        receptionServiceRes_1 = receptionServiceRes;

        ImplementReceiveContentIdComRespDto retData = new ImplementReceiveContentIdComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setEntityIdList(receptionServiceRes_1.getEntityIdList().stream().map(item -> BeanUtil.toBean(item, EntityIdDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1660847_1
        }


        return retData;
    }
    //
}
